package cn.touna.jss.modules.third.gzt.entity;

import cn.touna.risk.api.contraints.IdCard;
import cn.touna.risk.api.contraints.facet.First;
import cn.touna.risk.api.contraints.facet.Second;
import org.hibernate.validator.constraints.NotBlank;

/**
 * author: xl
 * time: 2018/3/1 15:11
 * description:
 **/
public class GuoZhengTongEntity {

    @IdCard(message = "身份证校验失败", groups = {First.class})
    private String idCard;
    @NotBlank(message = "名字不能为空", groups = {First.class})
    private String name;

    private boolean isFlee;
    private boolean isBreak;
    private boolean isDrug;
    private boolean isTakeDrugs;


    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isFlee() {
        return isFlee;
    }

    public void setFlee(boolean flee) {
        isFlee = flee;
    }

    public boolean isBreak() {
        return isBreak;
    }

    public void setBreak(boolean aBreak) {
        isBreak = aBreak;
    }

    public boolean isDrug() {
        return isDrug;
    }

    public void setDrug(boolean drug) {
        isDrug = drug;
    }

    public boolean isTakeDrugs() {
        return isTakeDrugs;
    }

    public void setTakeDrugs(boolean takeDrugs) {
        isTakeDrugs = takeDrugs;
    }
}
